Add a deprecation mark to draw_insertion_cursor
authorPaolo Borelli <pborelli@gnome.org>
Mon, 27 Feb 2012 16:35:57 +0000 (17:35 +0100)
committerPaolo Borelli <pborelli@gnome.org>
Mon, 27 Feb 2012 16:48:37 +0000 (17:48 +0100)
This function has been replaced with gtk_render_insertion_cursor, but we
forgot to mark it as deprecated.

gtk/gtkstylecontext.c
gtk/gtkstylecontext.h

index 0610d13af96fbb79eab608e5537de77bc900103d..30fed71258901bf3c9fae79121378e48529ec011 100644 (file)
@@ -4738,6 +4738,7 @@ gtk_render_insertion_cursor (GtkStyleContext *context,
  * but merely a convenience function for drawing the standard cursor shape.
  *
  * Since: 3.0
+ * Deprecated: 3.4: Use gtk_render_insertion_cursor() instead.
  */
 void
 gtk_draw_insertion_cursor (GtkWidget          *widget,
index f431b4a44048b0ba1b1b1f14afc7cc4c4a6ae173..c9857952fbcb749ba51f24e18d36cb9c0432bb89 100644 (file)
@@ -949,7 +949,7 @@ void        gtk_render_insertion_cursor
                                     PangoLayout         *layout,
                                     int                  index,
                                     PangoDirection       direction);
-
+GDK_DEPRECATED_IN_3_4
 void   gtk_draw_insertion_cursor    (GtkWidget          *widget,
                                      cairo_t            *cr,
                                      const GdkRectangle *location,